package com.jjvu.news.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MainController {
    @RequestMapping("/toTop")
    public String toTop(){
        return "admin/top";
    }
    @RequestMapping("/toMenu")
    public String toMenu(){
        return "admin/menu";
    }
    @RequestMapping("/toMain")
    public String toMain(){
        return "admin/main";
    }
    @RequestMapping("/toLeft")
    public String toLeft(){
        return "admin/left";
    }
}
